package cn.wygandwdn.common.enumeration;

/**
 * @description:
 * @author: WYG
 * @time: 2021/10/25 20:01
 */

public enum ResponseInfo {
    HANDLE_SUCCESS(1000, "处理成功"),
    HANDLE_FAIL(10001, "处理失败");

    private Integer code;
    private String message;

    ResponseInfo(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
